projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1780472
)
(equalp): Correctly compare last elt of two lists.
author
Richard M. Stallman
<rms@gnu.org>
Tue, 5 Mar 1996 22:53:55 +0000
(22:53 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 5 Mar 1996 22:53:55 +0000
(22:53 +0000)
lisp/emacs-lisp/cl-extra.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/cl-extra.el
b/lisp/emacs-lisp/cl-extra.el
index ac6ba7f630a96f521bb26a71ab511f40353da2ef..a9201444b0d5e3168ce49c4fc46bd141576b7f11 100644
(file)
--- a/
lisp/emacs-lisp/cl-extra.el
+++ b/
lisp/emacs-lisp/cl-extra.el
@@
-89,7
+89,8
@@
strings case-insensitively."
((numberp x)
(and (numberp y) (= x y)))
((consp x)
- (while (and (consp x) (consp y) (equalp (cl-pop x) (cl-pop y))))
+ (while (and (consp x) (consp y) (equalp (car x) (car y)))
+ (setq x (cdr x) y (cdr y)))
(and (not (consp x)) (equalp x y)))
((vectorp x)
(and (vectorp y) (= (length x) (length y))